POV-Ray : Newsgroups : povray.unofficial.patches : UV-mapping of bicubic patches not working in 0.6a : UV-mapping of bicubic patches not working in 0.6a Server Time
1 Sep 2024 20:20:12 EDT (-0400)
  UV-mapping of bicubic patches not working in 0.6a  
From: Warp
Date: 11 Nov 2000 07:35:42
Message: <3a0d3d1d@news.povray.org>
This works fine with megapov 0.5a (the bicubic patch has a checker pigment
applied to it) but in megapov 0.6a the bicubic patch is just white:

camera { location -z*8 look_at 0 angle 35 }
light_source { -z*10, 1 }

bicubic_patch
{ type 1 flatness 0 u_steps 4 v_steps 4,
  0, x, x*2, x*3,
  y, x+y, x*2+y, x*3+y,
  y*2, x+y*2, x*2+y*2, x*3+y*2,
  y*3, x+y*3, x*2+y*3, x*3+y*3

  uv_mapping
  pigment { checker rgb x, rgb 1 scale .125 }
  translate <-1.5,-1.5,0>
}


-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):_;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.